﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="OfficeDocumentCheck.aspx.cs" Inherits="Enterprise.UI.Web.Modules.OfficeDocument.OfficeDocumentCheck"
    ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/ssec-form.css" />
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
    <script charset="utf-8" src="../../kindeditor-4.1.1/kindeditor.js" type="text/javascript"></script>
    <script charset="utf-8" src="../../kindeditor-4.1.1/lang/zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        var editorcheck;
        KindEditor.ready(function (K) {
            editorcheck = K.create('#tb_CheckRemark', { uploadJson: '/kindeditor-4.1.1/upload/upload_json.ashx' });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li><a href="Index.aspx">公文管理</a></li>
                <li class="last">公文审批
                </li>
            </ul>
        </div>
        </div>
        <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
            <Ent:HeadMenuButtonItem ButtonIcon="back.gif" ButtonName="返回" ButtonUrl="OfficeDocumentIndex.aspx"
                ButtonPopedom="List" ButtonUrlType="Href" />
        </Ent:HeadMenuWeb>
        <div id="contents" class="ssec-form">
            <div class="ssec-group ssec-group-hasicon">
                <img src="../../easyui1.2.6/themes/icons/application.png" alt="" /><span>公文流程审核</span>
            </div>
            <ul>
                <li>
                    <div class="ssec-label">
                        部门/单位：
                    </div>
                </li>
                <li>
                    <div>
                        <asp:Label ID="lb_Dept" runat="server"></asp:Label>
                    </div>
                </li>
                <li style="width: 30px;"></li>
                <li>
                    <div class="ssec-label">
                         起草人：
                    </div>
                </li>
                <li>
                    <div>
                        <asp:Label ID="lb_User" runat="server"></asp:Label>
                    </div>
                </li>
            </ul>
            <ul id="ulTime" runat="server">
            <li>
                <div class="ssec-label">
                    来文时间：</div>
            </li>
            <li>
                    <asp:Label ID="lb_FromTime" runat="server"></asp:Label>
            </li>
            <li style="width: 30px;"></li>
            <li>
                <div class="ssec-label">
                    发送人：</div>
            </li>
            <li>
                    <asp:Label ID="lb_FromUser" runat="server"></asp:Label>
            </li>
        </ul>
        <ul id="ulFrom" runat="server">
            <li>
                <div class="ssec-label">
                    来文单位：</div>
            </li>
            <li>
                    <asp:Label ID="lb_From" runat="server"></asp:Label>
            </li>
            <li style="width: 30px;"></li>
            <li>
                <div class="ssec-label">
                    公文编号：</div>
            </li>
            <li>
                    <asp:Label ID="lb_Code" runat="server"></asp:Label>
            </li>
        </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        名称(中文)：
                    </div>
                </li>
                <li>
                    <div>
                        <asp:Label ID="lb_Name" runat="server"></asp:Label>
                    </div>
                </li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        名称(俄文)：
                    </div>
                </li>
                <li>
                    <div>
                        <asp:Label ID="lb_RName" runat="server"></asp:Label>
                    </div>
                </li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        公文说明(中文)：
                    </div>
                </li>
                <li style="width: 100%;">
                    <asp:Label ID="lb_Content" runat="server"></asp:Label></li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        公文说明(俄文)：
                    </div>
                </li>
                <li style="width: 100%;">
                    <asp:Label ID="lb_RContent" runat="server"></asp:Label></li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        附件：
                    </div>
                </li>
                <li style="width: 100%;">
                    <asp:Label ID="lb_Files" runat="server"></asp:Label></li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        申请时间：
                    </div>
                </li>
                <li>
                    <asp:Label ID="lb_Time" runat="server"></asp:Label></li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        审批记录：
                    </div>
                </li>
                <li style="width: 100%;">
                    <asp:GridView ID="GridView1" runat="server" DataKeyNames="PID" CssClass="GridViewStyle"
                        AutoGenerateColumns="False" Width="100%">
                        <Columns>
                            <asp:TemplateField HeaderText="序号">
                                <ItemTemplate>
                                    <%#Container.DataItemIndex+1%>
                                </ItemTemplate>
                                <ItemStyle Wrap="False" HorizontalAlign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="审核人员">
                                <ItemTemplate>
                                    <%#Enterprise.Service.User.UserService.GetUserName((int)Eval("PUSERID"))%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="是否通过">
                                <ItemTemplate>
                                    <%#(int)Eval("PRESULT")==1?"通过":"未通过"%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="审核说明">
                                <ItemTemplate>
                                    <%#Eval("PREMARK")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="审核时间" DataField="PTIME" />
                        </Columns>
                    </asp:GridView>
                </li>
            </ul>
            <ul>
                <li>
                    <div class="ssec-label">
                        审批意见：
                    </div>
                </li>
                <li style="width: 100%;">
                    <asp:TextBox ID="tb_CheckRemark" ClientIDMode="Static" TextMode="MultiLine" runat="server"
                        CssClass="easyui-validatebox" Width="99%"></asp:TextBox>
                </li>
            </ul>
            <div class="ssec-group-bottom ssec-group-hasicon">
                <asp:LinkButton ID="BtnSave" runat="server" OnClientClick="editorcheck.sync();return $('#form1').form('validate')&&confirm('确认提交吗？');"
                    CssClass="easyui-linkbutton" OnClick="BtnSave_OnClick">审批通过</asp:LinkButton><asp:LinkButton
                    ID="BtnUnSave" runat="server" OnClientClick="editorcheck.sync();return $('#form1').form('validate')&&confirm('确认提交吗？');"
                    CssClass="easyui-linkbutton" OnClick="BtnUnSave_OnClick">审批不通过</asp:LinkButton>
            </div>
        </div>
</asp:Content>
